<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      div {
        font-size: 80px;
        text-align: center;
        color: rgb(138, 254, 254);
      }
    </style>
  </head>
  <body>
    <div></div>
    <script>
      function getTime() {
        document.querySelector("div").innerHTML = new Date().toLocaleString();
        setTimeout(getTime, 1000);
      }
      getTime();
    </script>
  </body>
</html>
